package com.sansec.demo.interfaces.facade;

import org.springframework.http.HttpMethod;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lichangwei
 */
@RestController
@RequestMapping(value = "test")
public class HelloController {

    @RequestMapping(value = "/getstr",method = RequestMethod.GET)
    public String getStr(){
        return "Hello spring cloud alibaba";
    }
}
